<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head th:replace="~{layout :: css(~{::title},~{::link})}">
    <title>新用户注册</title>
    <link rel="stylesheet" th:href="@{/css/pink.css}"/>
</head>
<body>
<div class="container">
    <div class="login-wrapper">
        <div class="header">注册</div>
        <P th:text="${regitermsg}"></P>
        <form action="/register" method="get">
        <div><input type="text" name="username" placeholder="用户名" class="input-item"></div>
        <div><input type="text" name="password" placeholder="密码" class="input-item"></div>
        <div><input type="text" name="repeatpassword" placeholder="验证密码" class="input-item"></div>
        <input class="btn" type="submit" name="register" value="注册"></input>
    </form>
        </div>
    <div class="msg">
        已有账户？
        <a href="login.html" >前往登录</a>
    </div>
</div>
</body>
</html>